package cn.blog.entity.addBean;

import java.sql.Date;
/**
 * blog页面的文章信息
 * @author 江明
 * @time 2018年3月18日
 * @function
 */
public class BlogArtInfo {
	private Integer artId;//文章编号
	private Integer artUserId;//用户编号
	private String artTitle;//文章标题
	private Integer artClassId;//文章类型id
	private Date artTime;//文章时间
	private Integer artRead;//文章阅读数
	private String artContext;//文章内容
	
	private String name;//用户姓名
	
	private Integer comNum;//评论数量
	/**
	 * 无参构造初始化
	 */
	public BlogArtInfo() {
		super();
	}
	/**
	 * 
	 * @param artId	文章编号
	 * @param artUserId	用户编号
	 * @param artTitle	文章标题
	 * @param artClassId	文章类型id
	 * @param artTime	文章时间
	 * @param artRead	文章阅读数
	 * @param artContext	文章内容
	 * @param name
	 * @param comNum
	 */
	public BlogArtInfo(Integer artId, Integer artUserId, String artTitle, Integer artClassId, Date artTime, Integer artRead,
			String artContext, String name, Integer comNum) {
		super();
		this.artId = artId;
		this.artUserId = artUserId;
		this.artTitle = artTitle;
		this.artClassId = artClassId;
		this.artTime = artTime;
		this.artRead = artRead;
		this.artContext = artContext;
		this.name = name;
		this.comNum = comNum;
	}
	public Integer getArtId() {
		return artId;
	}
	public void setArtId(Integer artId) {
		this.artId = artId;
	}
	public Integer getArtUserId() {
		return artUserId;
	}
	public void setArtUserId(Integer artUserId) {
		this.artUserId = artUserId;
	}
	public String getArtTitle() {
		return artTitle;
	}
	public void setArtTitle(String artTitle) {
		this.artTitle = artTitle;
	}
	public Integer getArtClassId() {
		return artClassId;
	}
	public void setArtClassId(Integer artClassId) {
		this.artClassId = artClassId;
	}
	public Date getArtTime() {
		return artTime;
	}
	public void setArtTime(Date artTime) {
		this.artTime = artTime;
	}
	public Integer getArtRead() {
		return artRead;
	}
	public void setArtRead(Integer artRead) {
		this.artRead = artRead;
	}
	public String getArtContext() {
		return artContext;
	}
	public void setArtContext(String artContext) {
		this.artContext = artContext;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getComNum() {
		return comNum;
	}
	public void setComNum(Integer comNum) {
		this.comNum = comNum;
	}
	
	
	
}
